/* 
 * Copyright 2009 HIT-CIR (HIT Center for Information Retrieval). 
 * 
 * author: chuter
 * mail:   lliu@ir.hit.edu.cn
 */
package edu.hit.irlab.coref.postprocess;

import java.util.ArrayList;

import edu.hit.irlab.coref.resolve.Entity;

/**
 * The post-processing of Coreference Resolution<br>
 * It major does global optimization upon the Mention-Pair
 * 
 * @author chuter
 * @see edu.hit.irlab.corf.resolver.Entity
 *
 */
public interface Postprocessor {
	/**
	 * You should implement this function to add your own
	 * Post-Processing method, like ILP or Graph Model etc.
	 * 
	 * @param entityArr
	 * 		The initial resolution result of models or Regular System
	 * 	upon the Mention Pair
	 * @return
	 * 		The Entity list after the global optimization
	 */
	public ArrayList<Entity> postProcess(ArrayList<Entity> entityList);
	
}
